package kr.co.hanbit;

public class StringBufferEx1 {
	
	public static void main(String[] args) {
		
		int var = 0;
		StringBuffer sb = new StringBuffer("sun-Ae");
		String sb1 = new String("sun-Ae");
		var = sb.capacity();
		System.out.println("capacity:"+var);
		var = sb.length();
		System.out.println("length:"+var);
		var = sb1.length();
		System.out.println("length:"+var);
		
		
	}

}
